package java8_4;

/**
 * @author oldliu
 * @since 1.0
 */
public class Score {
    public static void main(String[] args) {
        //变量之间的互相赋值
        int scoreWang=80;
        int scoreZhang=scoreWang;
        System.out.println("王浩的成绩是"+scoreWang+",张萌的成绩是"+scoreZhang);
        System.out.println("老师发现了批改的错误");
        scoreWang=85;
        System.out.println("王浩的成绩是"+scoreWang+",张萌的成绩是"+scoreZhang);
    }
}
